<?php
require 'user.php';
require 'function.php';
header('Content-Type: text/html; charset=UTF-8');
echo <<<HTML
<html>
<head>
<title>文件管理-自动删除文件</title>
<style type="text/css">
.true{color:#6dff00;}
.false{color:#ff0000;}
.big_board{background-color:#009BCE;color:#FFF;}
.board_title{margin-bottom:1px;border:1px solid #09F;}
</style>
</head>
<body>
HTML;
echo '<a href="'.htmlspecialchars($_SERVER['HTTP_REFERER']).'">返回上级</a><br/>';
$path=_decode($_GET['path']);
$f=autodelete($_SESSION['autodelete'],$path,true);
foreach($f as $fi) {
echo htmlspecialchars($fi);
if(is_file($fi)) echo ' (删除失败)';
else echo ' (删除成功)';
echo '<br/>';
}
?>
</body>
</html>